put "That would not do wonders for your digestion." into donteat
global doorhide
put "closed" into doorhide
global cardhide
put "yes" into cardhide
end openstack
on idunno
put "Sorry - I don't understand." into field "info"
end idunno
on oneword
answer "Please use one word commands only."
end oneword
on ouch
play boing
put "Ouch! You seem to have dented yourself." into field "info"
end ouch
on closestack
global times
put 0 into times
global filter
put "" into filter
global halldoor
put "" into halldoor
global keyhide
put "" into keyhide
global inventory
put "" into inventory
global trayhide
put "" into trayhide
global doorhide
put "closed" into doorhide
global alarm
put "" into alarm
global grate
put "" into grate
global gtimes
put "" into gtimes
global cardhide
put "yes" into cardhide
global suithide
put "" into suithide
global gunhide
put "" into gunhide
global droolhide
put "" into droolhide
global room
put "" into room
global wear
put "" into wear
global boozhide
put "" into boozhide
global cuphide
put "" into cuphide
global posthide
put "" into posthide
global action
put "" into action
global gdoors
put "" into gdoors
global booz
put "" into booz
global boozer
put "" into boozer
global coffee
put "" into coffee
global roomz
put "" into roomz
global deadsec
put "" into deadsec
get the freesize of this stack
if it>1024*10 then
set the lockscreen to true
set the userlevel to 3
domenu "compact stack"
set the userlevel to 2
set the lockscreen to false
end if
show menubar
global blind
set the blindtyping to blind
global savelevel
set the userlevel to savelevel
end closestack
on reset
send "closestack" to this stack
end reset
on idle
get the commandkey
if it is down then
beep
wait 1 seconds
exit idle
end if
end idle
on arrowkey
beep
end arrowkey
on choose
beep
answer "Sorry...you can't." with "OK"
end choose
on enterkey
end enterkey
on returnkey
end returnkey
on domenu menuse
if menuse is "back" or menuse is "first" or menuse is "last" or menuse is "next" or menuse is "prev" or menuse is "recent" or menuse is "find..." or menuse is "print stack..." or menuse is "print report..." or menuse is "new card" or menuse is "cut card" or menuse is "paste card" or menuse is "undo" or menuse is "message"then